package com.dbsop.domain.agg;


public abstract class Agg {

    protected String fieldName;

    protected String formatName;

    public Agg(String fieldName) {
        this.fieldName = fieldName;
        this.formatName = fieldName;
    }

    public Agg(String fieldName, String formatName) {
        this.fieldName = fieldName;
        this.formatName = formatName;
    }

    public String getFormatName() {
        return formatName;
    }

    public void setFormatName(String formatName) {
        this.formatName = formatName;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

}
